package com.ruoyi.objectclonetest;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Order implements /*Cloneable,*/Serializable {
    private Long id;

    private String orderNo;

    private List<Item> itemList;

//    @Override
//    public Order clone() {
//        try {
//            return (Order) super.clone();
//        } catch (CloneNotSupportedException e) {
//            throw new RuntimeException(e);
//        }
//    }
}
